const Mock = require('mockjs')
const apis = [
  {
    url: '/some/path',
    method: 'get',
    response: (req, res) => {
      res.json(Mock.mock({
        "data|20": [{
          "id|+1": 1,
          "name": "@cname",
          "jiguan|1": ["南联机关", "南联沈阳", "南联海口", "南联大连"],
          "companyName|1": ["广州南联航空食品有限公司机关", "广州南联航空食品有限公司沈阳分公司", "广州南联航空食品有限公司海口分公司", "广州南联航空食品有限公司大连分公司" ],
          "job|1": ["党委书记", "采购管理部总经理", "总经理", "副总经理", "生产部书记"],
          "telephone|1": ['020-3524154', ''],
          "mobile|1": [13428256541, ''],
        }]
      }))
    }
  },
  {
    url: '/some/path2',
    method: 'get',
    response: (req, res) => {
      res.json({
        data: 'xg55555555'
      })
    }
  }
]
module.exports = apis